﻿using MDT.LifeSewagePlatform.Conmmon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/*********************************************************
 * 命名空间 MDT.LifeSewagePlatform.Entity
 * 接口名称 RuleCompanyEntity
 * 开发人员：-nhy
 * 创建时间：2022/3/31 16:43:22
 * 描述说明：
 * 更改历史：
 * 
 * *******************************************************/
namespace MDT.LifeSewagePlatform.Entity
{
    [Table("RuleCompanyTable")]
    public class RuleCompanyEntity:HandleEntity
    {

        public RuleCompanyEntity()
        {

        }
        public RuleCompanyEntity(int companyId,float standard,string descriptionInfo,Byte 
            alarmtype,Byte comparePattern,bool enable)
        {
            CompanyID = companyId;
            Standard = standard;
            DescriptionInfo = descriptionInfo;
            AlaramType = alarmtype;
            ComparePattern = comparePattern;
            Enable = enable;
        }
        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyID { get; set; }

        public float Standard { get; set; }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string DescriptionInfo { get; set; }
        /// <summary>
        /// 警告类型
        /// </summary>
        public Byte AlaramType { get; set; }
        /// <summary>
        /// 比较方式 --0与本期折算总量对比 1-各个毒品对比 2-
        /// </summary>
        public Byte ComparePattern { get; set; }
      
        /// <summary>
        /// 是否使用
        /// </summary>
        public bool Enable { get; set; }
    }
}
